package com.hzp.day50.model;

public class Car {
	private int carId;
	private String carCompany;
	private String carName;
	private String carPrice;
	private CarType type;
	public int getCarId() {
		return carId;
	}
	public void setCarId(int carId) {
		this.carId = carId;
	}
	public String getCarCompany() {
		return carCompany;
	}
	public void setCarCompany(String carCompany) {
		this.carCompany = carCompany;
	}
	public String getCarName() {
		return carName;
	}
	public void setCarName(String carName) {
		this.carName = carName;
	}
	public String getCarPrice() {
		return carPrice;
	}
	public void setCarPrice(String carPrice) {
		this.carPrice = carPrice;
	}
	public CarType getType() {
		return type;
	}
	public void setType(CarType type) {
		this.type = type;
	}
	@Override
	public String toString() {
		return "Car [carId=" + carId + ", carCompany=" + carCompany + ", carName=" + carName + ", carPrice=" + carPrice
				+ ", type=" + type + "]";
	}
}
